Skip to content

clang-tidy: fix bugprone-reserved-identifier#489

Merged
knoepfel merged 2 commits intomainfrom
maintenance/clang-tidy/bugprone-reserved-identifier
Apr 8, 2026
Merged

clang-tidy: fix bugprone-reserved-identifier#489
knoepfel merged 2 commits intomainfrom
maintenance/clang-tidy/bugprone-reserved-identifier

Conversation

@greenc-FNAL
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses a clang-tidy finding (bugprone-reserved-identifier) in index_router by removing use of a reserved identifier in a structured binding, while preserving the existing routing/flushing cache insertion behavior.

Changes:

  • Replaced structured bindings that used _/__ with direct extraction of the iterator from try_emplace(...).first.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@            Coverage Diff             @@
##             main     #489      +/-   ##
==========================================
+ Coverage   85.44%   85.47%   +0.02%     
==========================================
  Files         142      142              
  Lines        3586     3586              
  Branches      615      615              
==========================================
+ Hits         3064     3065       +1     
  Misses        311      311              
+ Partials      211      210       -1     
Flag Coverage Δ
unittests 85.47% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
phlex/core/index_router.cpp 91.81% <100.00%> (ø)

... and 3 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 44fb935...a634549. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@greenc-FNAL greenc-FNAL force-pushed the maintenance/clang-tidy/bugprone-reserved-identifier branch from 8871ac9 to 7366343 Compare April 7, 2026 22:12
@greenc-FNAL greenc-FNAL force-pushed the maintenance/clang-tidy/bugprone-reserved-identifier branch from ad10555 to a634549 Compare April 8, 2026 14:00
@knoepfel knoepfel merged commit b1e67db into main Apr 8, 2026
36 checks passed
@knoepfel knoepfel deleted the maintenance/clang-tidy/bugprone-reserved-identifier branch April 8, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants